package cn.good.yan.service;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 自定义限流处理逻辑
 *
 * @author shengren.yan
 * @create 2024-05-25
 */
public class RateBlockHandler {

    public static String test4(@PathVariable("id") Integer id, BlockException exception) {
        return "自定义的限流处理信息......流控 :" + id;
    }


}
